package com.theo.service;

import com.theo.entity.CommentInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 方涛
 * @since 2021-02-02
 */
public interface CommentInfoService extends IService<CommentInfo> {

    int saveCommentInfo(CommentInfo commentInfo);

    int deleteCommentInfo(Integer id);

    int updateCommentInfo(CommentInfo commentInfo);

    List<CommentInfo> queryAllCommentInfo();

    List<CommentInfo> queryCommentInfo(Integer id);

    CommentInfo queryCommentInfoById(Integer id);
}
